package com.imooc.coupon.converter;

import com.imooc.coupon.constant.ProductLine;

import javax.persistence.AttributeConverter;
import javax.persistence.Converter;

//产品线枚举属性转换器
@Converter
public class ProductLineConverter implements AttributeConverter<ProductLine,Integer> {
    @Override
    public Integer convertToDatabaseColumn(ProductLine productLine) {
        return null;
    }

    @Override
    public ProductLine convertToEntityAttribute(Integer integer) {
        return null;
    }
}
